﻿using IBll;
using IDal;
using Model;

namespace Bll
{
    public class AreaBll: IAreaBll
    {
        public AreaBll(IsroreDal<Area> dal) 
        {
            Dal = dal;
        }

        public IsroreDal<Area> Dal { get; }



        /// <summary>
        /// 下拉框
        /// </summary>
        /// <returns>返回受影响行数</returns>
        public IQueryable<Area> BindArea()
        {
            return Dal.GetAllAsync();
        }

    }
}
